Honour maxcmts for files, too. (For explorist...)
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 16 Apr 2005 04:03:13 +0000 (04:03 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sat, 16 Apr 2005 04:03:13 +0000 (04:03 +0000)
gpsbabel/magproto.c

index c094c68a54776ee8e847d7511c46a1d7151621b0..753fcd624783557ab606ef3307973abdeef676c8 100644 (file)
@@ -1215,7 +1215,7 @@ mag_waypt_pr(const waypoint *waypointp)
         * to deliver turn-by-turn popups for street routing) allow a 
         * cap on the comments delivered so we leave space for it to route.
         */
-       if (odesc && !is_file && (wptcmtcnt++ >= wptcmtcnt_max))
+       if (odesc && /* !is_file && */ (wptcmtcnt++ >= wptcmtcnt_max))
                odesc[0] = 0;
 
        sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.46s,%s",